const setRem = () => {
	let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth
	let htmlDom = document.querySelector('html')
	htmlDom.style.fontSize = htmlWidth / 10 + 'px'
}
setRem()
window.onresize = function() {
	setRem()
}
